@charset "UTF-8";
html, body {
    background-color: #FFF;
    color: #444;
    font-size: 13px;
    line-height: 24px
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    margin: 0;
    padding: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block
}

html, body, button, input, option, select, textarea {
    font-family: 'Microsoft YaHei', Verdana, Arial, sans-serif
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

ol, ul {
    list-style: none
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: 500
}

a, a:hover {
    text-decoration: none
}

.clear:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0
}

.left {
    float: left
}

.right {
    float: right
}

.hide {
    display: none
}

html, body {
    background-color: #fafafa
}

a {
    color: #5399c2
}

a:hover {
    color: #487da1;
    cursor: pointer
}

.input {
    padding: 6px 8px;
    background-color: #fafafa;
    border: 1px solid #BBB;
    outline: 0
}

.input:focus {
    border-color: #BBB;
    background-color: #f1f1ff
}

.button {
    width: 100px;
    height: 30px;
    color: #FFF;
    border: 0;
    background-color: #487da1
}

.button:hover {
    cursor: pointer;
    background-color: #5399c2
}

.form .item {
    margin-bottom: 18px
}

input[disabled] {
    cursor: default;
}

input[disabled]:hover {
    background-color: #487da1;
}

/* ------------------------------------------------------------------------*/

#login {
    width: 230px;
    padding: 18px 24px;
    background-color: #FFF;
    border: 1px solid #BBB;
    margin: 5% auto;
}

#login:hover {
    box-shadow: 0 0 8px #DDD;
}

#login h2 {
    line-height: 24px;
    margin-bottom: 12px;
    font-size: 18px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #DDD;
}

#login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

#login-form .input {
    width: 212px;
    font-size: 14px;
}

#login-result, .editor #result {
    margin-left: 18px;
    display: inline-block;
    min-width: 3em;
    height: 30px;
    line-height: 30px;
}

#login-result.loading, .editor #result.loading {
    background: url('../img/loading_icon.gif') left center no-repeat;
}

#login-result.error, .editor #result.error {
    color: #cb3131;
}

/* ------------------ #editor --------------------- */

#editor-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

#editor-wrapper .input, .editor #title {
    background-color: #FFF;
}

#editor-wrapper .input:hover, .editor #title:hover {
    background-color: #F1F1FF;
}

#editor-side {
    width: 240px;
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 20px;
}

#editor-side input.input {
    width: 200px;
}

#editor-side .input-tip {
    color: #888;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

#editor-main {
    margin-right: 281px;
    overflow-x: hidden;
    border-right: 1px solid #CCC;
}

.editor select {
    min-width: 8em;
}

.editor #title {
    line-height: 28px;
    font-size: 16px;
    width: 100%;
    padding: 6px 16px;
    border: none;
    background-color: transparent;
    outline: none;
}

#editor-side input[type=checkbox] {
    margin-right: 6px;
    vertical-align: baseline;
}

#editor-side li {
    margin-bottom: 12px;
}

.editor #result {
    display: block;
    margin-top: 12px;
    margin-left: 0;
}

/* ------------------- #app -----------------------------------*/

#app-header {
    height: 81px;
    border-bottom: 1px solid #CCC;
    margin: 0 24px;
    padding: 0 12px;
}

#app-logo {
    line-height: 76px;
}

#app-logo a {
    font-size: 32px;
}

#app-logo .slash, #app-logo .blog {
    font-size: 21px;
    color: #888;
    margin-left: 16px;
}

#app-nav {
    line-height: 80px;
    margin-left: 40px;
}

#app-nav li {
    display: inline-block;
    font-size: 18px;
}

#app-nav a {
    color: #888;
    margin-right: 40px;
    padding: 5px 10px;
}

#app-nav a:hover {
    color: #487da1;
    border-bottom: 3px solid #487da1;
}